#include <47func.h>
int main(int argc, char *argv[])
{
    int fd = open("1.pipe",O_RDONLY);
    char buf[5];
    while(1){
        ssize_t ret = read(fd,buf,sizeof(buf));
        printf("ret = %ld\n", ret);
        sleep(1);
    }
    return 0;
}

